/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module DST.h - Dual Currenct Symbol Table Header file |
   @end

$Log: /SoftPay/SPK2SIM/Source/Include/dst.h $
 *
 * 5     2/21/00 2:59p Jim_b4
 * Include file restructuring
 *
 * 4     1/21/00 1:49p Nick_t1
 * Corrected Exchange Rate Type in the DST Structure.
 * From short to long.
 *
 * 2     21/01/00 6:56p Nick_t1
 *
 * 3     11/30/99 3:23p Kevin_v1
 * Removed File Name Message file usage
 *
 * 2     11/25/99 12:43p Nick_t1
 *
 * 1     24/11/99 12:18p Nick_t1
 *
 * 1     11/05/99 9:27a Jim_b4
 *
 * 2     4/11/99 9:32a Nick_t1
 *
 * 1     3/11/99 9:43a Nick_t1
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/
#ifndef VSDST_H
#define VSDST_H

#include <util.h>
#include <sizes.h>

#define DST_FILE_NAME         "dst.dat"


typedef struct TagDST_REC
{
	short shCurrencyIndex;
	char szCurSymbol [CUR_SYMBOL_SIZE + 1];
	char szCurCode [CUR_CODE_SIZE + 1];
    long lnCurrencyExRate;
} DST_REC;

#define SIZE_DST_REC  sizeof(DST_REC)

extern DST_REC srDSTRec;

int inGetDSTTotRecs (void);
short shGetDSTCurrencyIndex(void);
void vdGetDSTCurSymbol(char *);
void vdGetDSTCurCode(char *);
void vdSetDSTCurCode(char *);
long lnGetDSTCurrencyExRate(void);
void vdSetDSTCurSymbol(char *pchCurSymbol);

#endif /* VSDST_H */
